package com.example.zjsr.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

@Data
public class ExcelAnchorsInfo  extends BaseRowModel {
    @ExcelIgnore
    private Integer infoId;//直播信息编号

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 0, value = "主播姓名")
    private String infoName;//主播姓名


    @ExcelProperty(index = 1, value = "主播ID")
    private String infoAnchorID;//主播ID

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 2, value = "主播头像")
    private String infoHeadPortrait;//主播头像

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 3, value = "主播日期")
    private String infoDate;//主播日期

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 4, value = "主播直播粉丝数")
    private String infoFansNumber;//主播直播粉丝数

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 5, value = "直播开始时间")
    private String beginDate;//直播开始时间

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 6, value = "直播结束时间")
    private String endDate;//直播结束时间

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 7, value = "直播场次")
    private Integer liveEvents;//直播场次

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 8, value = "直播观看人数")
    private String viewNums;//直播观看人数

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 9, value = "直播宝贝均价")
    private String treasureAvg;//直播宝贝均价

    @ColumnWidth(value = 25)
    @ExcelProperty(index = 10, value = "直播宝贝成交均价")
    private String treasureBargainAvg;//直播宝贝成交均价

    @ExcelProperty(index = 11, value = "销量")
    private String salesVolume;//销量

    @ExcelProperty(index = 12, value = "销售额")
    private String sales;//销售额
}

